
const token_key = 'token_key';

export default {
    get: function () {
        return localStorage.getItem(token_key);
    },
    set: function (token) {
        return localStorage.setItem(token_key, token);
    },
    clear: function(){
        localStorage.removeItem(token_key);
    }
}